package A;

public class Zhandouji extends Plane {
    private int dantoushu;
    public Zhandouji(int dantoushu) {
        this.dantoushu = dantoushu;
    }
    public Zhandouji(String name, double height, double weight, int dantoushu) {
        super(name, height, weight);
        this.dantoushu = dantoushu;
    }

    public int getDantoushu() {
        return dantoushu;
    }
    public void setDantoushu(int dantoushu) {
        this.dantoushu = dantoushu;
    }
    public void fashe(){
        System.out.println("发射导弹");
    }
    public void feixing(){
        System.out.println("低空盘旋");
    }
}
